<template>
  <div>
    他是儿子
    <p>{{Amoney}}</p>
    <B></B>
  </div>
</template>

<script>
import B  from "./B.vue"
import {inject} from 'vue'
export default {
  components: {
    B
  },
  setup () {
  const Amoney= inject('money')
  return {
    Amoney
  }
 }
}
</script>

<style>

</style>
